// -*- go -*-

package main

import (
	"crypto/rsa"
)

type Size = uint4

func main(a, b Size) (uint, uint) {
	sum := count(a, b)
	sum2 := count(b, a)

	return sum, sum2
}

func count(a, b uint) uint {
	sumType := make(uint, size(b))

	var sum sumType

	for i := 0; i < size(a); i++ {
		if a>>i&1 == 1 {
			sum += b
		}
	}
	return sum
}
